
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="../../css/global.css" rel="stylesheet" type="text/css">
<link href="../../js/webuploader/webuploader.css" rel="stylesheet" type="text/css">
<title class="body_title">新增</title>
</head>
<body>
<!--栏目列表-->
<div class="left_menu">
  <div class="sub">
  </div>
</div>
<!--/栏目列表-->
<div class="right_con">
  <div class="card">
    <div class="title"><span class="body_title">新增</span>
      <div class="cfr">
        <div class="tico full">
          <i class="iconfont icon-quanping"></i>
        </div>
      </div>
    </div>
    <div class="tipbox">
    </div>
    <div class="infoBox">
      <div class="boxs">
        <!--基本信息-->
        <div class="box">
          <div class="sub">
            <span>基本信息</span>
            <div class="r_toggle" toggle = ".ifo1" toggletext="&#xe74a;,&#xe749;" open>&#xe74a;</div>
          </div>
          <div class="form ifo1 validform" ly-get="{{gateUrl}}/back/attendanceBack/selectAttendanceSettingsById">
          	<input id="id" type="hidden" ly-bind="id"/>   
          	
          	 <div class="row" gutter="10">
							<div class="label"><em>*</em>名称：</div>
							<div class="col-7">
								<input type="text" class=" required ipt" name="checkName" id="checkName" ly-bind="checkName" placeholder="请输入名称" data-tip="请输入名称" maxlength="5" data-valid="isNonEmpty||between:0-5" data-error="名称不能为空||名称长度必须在0-5之间">
							</div>
						</div>
	           <div class="row" gutter="10">
								<div class="label">选择考勤设备：</div>		
								<div class="col-7"> 
	                <select id="equipmentId" name="equipmentId" class="required ipt" ly-type="select" placeholder="请选择考勤设备" data-tip="请选择考勤设备" data-valid="isNonEmpty" data-error="考勤设备不能为空">
	                	
	                </select>   
	           </div>
						</div>
	            
	          <div class="row" gutter="10">
							<div class="label more"><em>*</em>允许偏差的距离：</div>
							<div class="col-7">
								<input type="text" class=" required ipt" name="distance" id="distance" ly-bind="distance" placeholder="请输入允许偏差的距离" data-tip="请输入允许偏差的距离" data-valid="isNonEmpty||onlyInt||between:0-8" maxlength="8" data-error="允许偏差的距离不能为空||只能输入正整数||长度最大8位"> <span>米</span>
							</div>
						</div>
						
						<div class="row" gutter="10">
							<div class="label more"><em>*</em>考勤开始时间：</div>
							<div class="col-7">
								<input type="time" class="required ipt" name="checkStartTime" id="checkStartTime" ly-bind="checkStartTime" placeholder="请输入考勤开始时间" data-tip="请输入考勤开始时间" data-valid="isNonEmpty" data-error="考勤开始时间不能为空">
							</div>
						</div>
						<div class="row" gutter="10">
							<div class="label more"><em>*</em>考勤结束时间：</div>
							<div class="col-7">
								<input type="time" class="required ipt" name="checkEndTime" id="checkEndTime" ly-bind="checkEndTime" placeholder="请输入考勤结束时间" data-tip="请输入考勤结束时间" data-valid="isNonEmpty" data-error="考勤结束时间不能为空">
							</div>
						</div>
				  
          	<div class="row" gutter="10">
	              <div class="label">班次：</div>
	              <div class="col-7"> 
	                <div id="checkShifts" name="checkShifts"></div>
	              </div>
	          </div>
            <div class="row" gutter="10">
	              <div class="label">是否启用：</div>
	              <div class="col-7"> 
	                <div id="isUsing" name="isUsing"></div>
	              </div>
	          </div>
        </div>
      </div>
      <div class="btnBox">
        <div class="fr">
          <button class="btn red " id="save-btn-commodityClassification">保存</button>
          <button class="btn goback" onclick="window.history.back()">返回</button>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
<script id="jquery_js" src="../../js/jquery-1.11.1.min.js"></script>
<script id="config_js" src="../../js/config.js"></script>
<script id="ly_main_js" src="../../js/ly_main.js"></script>
<script src="../../js/jquery-validate.js"></script>
<script src="../../js/webuploader/webuploader.min.js"></script>
<script src="../../js/simpleuploader.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/ourJs/attendance/attendance-settings-creat.js"></script>	
</html>
